package dao;
import domain.Category;
public class TestCategoryDao {
   public static void main(String args[]){
	   CategoryDao dao = new CategoryDao();
	   try{
		   Category category = dao.getCategaory("FISH");
		   System.out.println("catID:"+category.getCatid());
		   System.out.println("name:"+category.getName());
		   System.out.println("desc:"+category.getDescn());
	   }catch(Exception e){e.printStackTrace();}
   }
}
